﻿@model int
@using NavKet.Models;
@{
    ViewBag.Title = "AddDepartment";
    Layout = "~/Views/Admin/AdminMasterPage.cshtml";
}

<form method="post"  action="/ShopAdmin/AddDepartment?shopId=@Model" >
<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
		<tr>
			<th valign="top"><h2> name:</h2></th>
			<td><input type="text" name="txtDeptName" class="inp-form"  /></td>
			<td></td>
		</tr>
        	<tr>
			<th valign="top"><h2> Descreption:</h2></th>
			<td><input type="text" name="txtDeptDecreption" class="inp-form"/></td>
			<td></td>
		</tr>
		<tr>
		<th valign="top"><h2>Category:</h2></th>
		<td>
        <select name="catid">
        @foreach (Category item in ViewBag.MallCategories)
        {
           
           <option value="@item.id">@item.name</option>     
          
        }
        </select>
        </td>
        </tr>
        </table>

       
        <input type="submit" class="form-submit" value="">


        </form>
